package com.bdqn.mzc.service;

import com.bdqn.mzc.model.Region;
import com.bdqn.mzc.model.Scenicspot;
import com.bdqn.mzc.model.Valuate;
import com.bdqn.mzc.vo.NutriVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShowInfoService {

     List<Region> homeProvinceShow();

     // 查询全部景点
     List<Region> homeProvinceShow(NutriVo nutriVo);

     // 根据regionId获取指定景点
     Region selectByPrimaryKey(Integer regionId);

     // 根据regionId更新景点
     int updateByPrimaryKeySelective(Region record);

     // 添加景点信息
     int insertSelective(Region record);

     // 根据regionId删除指定景点
     int deleteByPrimaryKey(Integer regionId);

     int homeSumScenicsPot();


     List<Scenicspot> homeOrderQuantityShow();


     List<Scenicspot> homeGradeShow();


     List<Scenicspot> tripSelectScenicsPotByUnknown
             (@Param("regionId") String[] regionid,
              @Param("scenicspotgrade") String[] scenicspotgrade,
              @Param("scenicspotaddress") String[] scenicspotaddress,
              @Param("scenicspotimgscore")String[] scenicspotimgscore,
              @Param("scenicspotordersquantity")String[] scenicspotordersquantity,
              @Param("scenicspotprice")String[] scenicspotprice,
              @Param("scenicspotopentime")String[] scenicspotopentime
             );

     List<Scenicspot> tripSlectScenicspotByNameLink(String scenicspotscenicname);

     Scenicspot selectScenicspotById(Integer id);

     List<Valuate> selectValuateByScenicspotId(Integer id);
}
